home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beginning Mac Programming
/
Beginning Mac Programming.bin
/
Open Me for REALbasic 3
/
REALbasic 3.2
/
Example Projects
/
Reusable Classes_Code
/
REALfishSource
/
example of scripting REALfish
next >
Wrap
Text File
|
2000-10-07
|
507b
|
17 lines
tell application "REALfish"
make key from username "matt" password "hoho"
set myKey to the result
make subkeys from key myKey
encipher plaintext "Congratulations, it's working perfectly."
end tell
set mySecretMessage to the result
-- now we imagine that on some future occasion we decrypt the message
tell application "REALfish"
make key from username "matt" password "hoho"
set myKey to the result
make subkeys from key myKey
decipher ciphertext mySecretMessage
end tell
display dialog the result